Spread WPF Documentation
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcWeekNumFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 1 - 2 items: serial_num, [return_type].

Serial_num is a date within the week.

[Return_type] is a number that determines on which day the week begins. 1 means Week begins on Sunday, 2 means Week begins on Monday. The default value is 1.

Returns a number that indicates where the week falls numerically within a year.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcWeekNumFunction
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 1 - 2 items: serial_num, [return_type].

Serial_num is a date within the week.

[Return_type] is a number that determines on which day the week begins. 1 means Week begins on Sunday, 2 means Week begins on Monday. The default value is 1.

Return Value

A System.Int32 value that indicates the evaluate result.
See Also

Reference

CalcWeekNumFunction Class
CalcWeekNumFunction Members
Overload List